<style>
    .table th{
        text-align: center;
        vertical-align:middle;
    }
    .table td{
        text-align: center;
        vertical-align:middle;
    }
</style>
<div class="row-fluid listcontent">
    <div class="span12">
        <div class="portlet box grey">
            <div class="portlet-title">
                <div class="caption"><i class="icon-cogs"></i>注册协议</div>
            </div>
            <div class="portlet-body">
                <div class="dataTables_wrapper form-inline">
                    <table id="basicinfo" class="table table-hover table-bordered">
                        <thead>
                        <th>注册协议</th>
                        <th style="width:100px;">操作</th>
                        </thead>
                        <tbody>
                        {if(count($list)>0)}
                        {volist name='list' id='val' k='key'}
                        <tr class="odd gradeX ">
                            <td>{$val.a_register_agreement}</td>
                            <td>
                                <a class="btn mini green edit" style="margin-top:5px" data-id='{$val.a_id}'><span>编辑</span></a>
                            </td>
                        </tr>
                        {/volist}
                        {else/}
                        <tr>
                            <td colspan="16"><span style="margin-left: 50px">暂无数据</span></td>
                        </tr>
                        {/if}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
